//
//  JXRDataCachesTool.h
//  JXRMinor
//
//  Created by dllo on 15/10/20.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JXRDataCachesTool : NSObject

+(JXRDataCachesTool *)shareJXRDataCachesTool;

#pragma mark ----缓存-----

//// 计算单个文件大小
//- (float)fileSizeAtPath:(NSString*)path;

- (NSString *)JXRMinorDownloadFilePath;

// 计算目录大小
- (float)folderSizeAtPath;

// 清除文件
- (void)clearCache;

// 归档
- (void)saveCachesWithPlistNameUrl:(NSString *)url responseObject:(id)responseObject;

// 反归档
- (id)cachesWithurl:(NSString *)url;

@end
